<?php

namespace app\admin\controller\recharge;

use app\common\controller\AdminController;
use EasyAdmin\annotation\ControllerAnnotation;
use EasyAdmin\annotation\NodeAnotation;
use think\App;
use app\admin\model\RechargeAddress;

/**
 * @ControllerAnnotation(title="充币")
 */
class Address extends AdminController {

    use \app\admin\traits\Curd;

    public function __construct(App $app) {
        parent::__construct($app);

        $this->model = new \app\admin\model\RechargeAddress();

        $this->assign('getStatusList', $this->model->getStatusList());

    }

    public function getAddressType() {
        $this->success('成功', RechargeAddress::instance()->getAddressTypeInfo());
    }


}